package 补充;

public class System类 {
    public static void main(String[] args) throws InterruptedException {
        long startTime = System.currentTimeMillis();
        Thread.sleep(100);
        long endTime = System.currentTimeMillis();
        System.out.println("系统休眠；" + (endTime - startTime) + "ms");

        System.out.println(System.getProperty("java.library.path"));
        System.out.println(System.getProperty("os.version"));
        System.out.println(System.getProperty("os.arch"));
        System.out.println(System.getProperty("user.dir"));
        System.out.println(System.getProperty("user.name"));
    }
}
